home *** CD-ROM | disk | FTP | other *** search
/ Power Hacker 2003 / Power_Hacker_2003.iso / Exploit and vulnerability / w00w00 / sectools / dsniff / missing / md5.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-01-20  |  508 b   |  22 lines

  1. #ifndef MD5_H
  2. #define MD5_H
  3.  
  4. struct MD5Context {
  5.     u_int32_t buf[4];
  6.     u_int32_t bits[2];
  7.     unsigned char in[64];
  8. };
  9.  
  10. void MD5Init(struct MD5Context *context);
  11. void MD5Update(struct MD5Context *context, unsigned char const *buf,
  12.            unsigned len);
  13. void MD5Final(unsigned char digest[16], struct MD5Context *context);
  14. void MD5Transform(u_int32_t buf[4], u_int32_t const in[16]);
  15.  
  16. /*
  17.  * This is needed to make RSAREF happy on some MS-DOS compilers.
  18.  */
  19. typedef struct MD5Context MD5_CTX;
  20.  
  21. #endif /* !MD5_H */
  22.